home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / bubble_s.swf / scripts / DefineButton2_103 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2010-08-12  |  765 b   |  39 lines

  1. on(release){
  2.    var i;
  3.    _parent.SDButton();
  4.    _parent.vVolume = (tbV._bb._x - 16) * 100 / 64;
  5.    _parent.SetVol();
  6.    if(this.rN._currentframe == 1)
  7.    {
  8.       i = 1;
  9.    }
  10.    else if(this.rE._currentframe == 1)
  11.    {
  12.       i = 2;
  13.    }
  14.    else if(this.rM._currentframe == 1)
  15.    {
  16.       i = 3;
  17.    }
  18.    i = 1;
  19.    if(i != _parent.vLevel)
  20.    {
  21.       _parent.vLevel = i;
  22.       _parent.Start(true);
  23.    }
  24.    _parent.vAS = cbAS._currentframe == 1;
  25.    _parent.vBAnim = cbBA._currentframe == 1;
  26.    _parent.vSound = cbS._currentframe == 1;
  27.    _parent.vLQ = cbLQ._currentframe == 1;
  28.    if(_parent.vLQ)
  29.    {
  30.       _quality = "MEDIUM";
  31.    }
  32.    else
  33.    {
  34.       _quality = "HIGH";
  35.    }
  36.    _parent.vDialog = false;
  37.    removeMovieClip(this);
  38. }
  39.